<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网络安全态势综合分析报告</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">

    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#1e40af',
                        secondary: '#3b82f6',
                        danger: '#ef4444',
                        warning: '#f59e0b',
                        success: '#10b981',
                        info: '#6366f1',
                        dark: '#1f2937',
                        'dark-blue': '#0c1e55',
                        light: '#f3f4f6'
                    },
                    fontFamily: {
                        inter: ['Inter', 'sans-serif'],
                    },
                }
            }
        }
    </script>

    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .card-shadow {
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            }
            .risk-badge {
                @apply px-3 py-1 rounded-full text-sm font-medium;
            }
            .section-card {
                @apply bg-white rounded-xl p-6 mb-8 card-shadow transition-all duration-300 hover:shadow-lg;
            }
            .trend-up {
                @apply text-success;
            }
            .trend-down {
                @apply text-danger;
            }
            .table-hover-row {
                @apply transition-all duration-200 hover:bg-light;
            }
        }
    </style>
</head>

<body class="bg-gray-50 font-inter text-dark">
    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
        <!-- 主标题 - 适合使用大号标题格式 -->
        <div class="mb-12 text-center">
            <h1 class="text-[clamp(2rem,5vw,3.5rem)] font-bold text-dark-blue mb-4">
                网络安全态势综合分析报告
            </h1>
            <p class="text-gray-600 text-lg max-w-3xl mx-auto">
                全面分析近期网络安全态势，深入洞察潜在风险与威胁，提供专业防护建议
            </p>
        </div>

        <!-- 摘要卡片布局 - 适合使用卡片和警示标志展示关键评级 -->
        <section class="mb-16">
            <h2 class="text-2xl font-bold text-dark mb-6 flex items-center">
                <i class="fa fa-file-alt text-primary mr-3"></i>报告摘要
            </h2>
            <div class="bg-white rounded-xl p-8 shadow-lg border-l-8 border-danger">
                <div class="flex flex-col md:flex-row md:items-center justify-between">
                    <div class="mb-6 md:mb-0">
                        <h3 class="text-xl font-semibold mb-4">整体安全态势评级：
                            <span class="risk-badge bg-danger/10 text-danger">高危</span>
                        </h3>
                        <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4">
                            <div class="flex items-start">
                                <div class="bg-danger/10 p-2 rounded-full mr-3">
                                    <i class="fa fa-exclamation-triangle text-danger"></i>
                                </div>
                                <div>
                                    <p class="font-medium">攻击类型集中度</p>
                                    <p class="text-sm text-gray-600">权限提升类攻击占比极高</p>
                                </div>
                            </div>
                            <div class="flex items-start">
                                <div class="bg-danger/10 p-2 rounded-full mr-3">
                                    <i class="fa fa-arrow-up text-danger"></i>
                                </div>
                                <div>
                                    <p class="font-medium">攻击量激增</p>
                                    <p class="text-sm text-gray-600">5月13日环比增长823%</p>
                                </div>
                            </div>
                            <div class="flex items-start">
                                <div class="bg-danger/10 p-2 rounded-full mr-3">
                                    <i class="fa fa-unlock-alt text-danger"></i>
                                </div>
                                <div>
                                    <p class="font-medium">关键资产暴露面显著</p>
                                    <p class="text-sm text-gray-600">80%资产IP地址缺失</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="bg-gray-50 p-4 rounded-lg">
                        <p class="text-sm text-gray-600 mb-2">报告生成日期</p>
                        <p class="text-lg font-semibold">2025年5月15日</p>
                        <div class="mt-4 pt-4 border-t border-gray-200">
                            <p class="text-sm text-gray-600 mb-1">数据覆盖范围</p>
                            <p class="text-sm">2025年5月10日至2025年5月15日</p>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- 核心风险 - 适合使用柱状图和折线图组合展示 -->
        <section class="mb-16">
            <h2 class="text-2xl font-bold text-dark mb-6 flex items-center">
                <i class="fa fa-exclamation-circle text-warning mr-3"></i>核心风险
            </h2>
            <div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
                <div class="section-card">
                    <h3 class="text-xl font-semibold mb-4">风险类型分布</h3>
                    <div class="h-80">
                        <canvas id="riskTypeChart"></canvas>
                    </div>
                </div>
                <div class="section-card">
                    <h3 class="text-xl font-semibold mb-4">风险趋势分析</h3>
                    <div class="overflow-x-auto">
                        <table class="min-w-full divide-y divide-gray-200">
                            <thead>
                                <tr>
                                    <th
                                        class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        风险类型</th>
                                    <th
                                        class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        占比/数值</th>
                                    <th
                                        class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        趋势</th>
                                </tr>
                            </thead>
                            <tbody class="bg-white divide-y divide-gray-200">
                                <tr class="table-hover-row">
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <div class="h-2.5 w-2.5 rounded-full bg-danger mr-2"></div>
                                            <span>权限提升类攻击(T1548)</span>
                                        </div>
                                    </td>
                                    <td class="px-4 py-4 whitespace-nowrap font-medium">75.1%</td>
                                    <td class="px-4 py-4 whitespace-nowrap trend-up">
                                        <i class="fa fa-arrow-up mr-1"></i>斐波那契式增长(日均61.8%)
                                    </td>
                                </tr>
                                <tr class="table-hover-row">
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <div class="h-2.5 w-2.5 rounded-full bg-warning mr-2"></div>
                                            <span>CentOS Linux 8.2.2004风险值</span>
                                        </div>
                                    </td>
                                    <td class="px-4 py-4 whitespace-nowrap font-medium">5031</td>
                                    <td class="px-4 py-4 whitespace-nowrap trend-up">
                                        <i class="fa fa-arrow-up mr-1"></i>Windows 8系统的11.8倍
                                    </td>
                                </tr>
                                <tr class="table-hover-row">
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <div class="h-2.5 w-2.5 rounded-full bg-info mr-2"></div>
                                            <span>IP地址缺失资产</span>
                                        </div>
                                    </td>
                                    <td class="px-4 py-4 whitespace-nowrap font-medium">80%</td>
                                    <td class="px-4 py-4 whitespace-nowrap trend-down">
                                        <i class="fa fa-arrow-down mr-1"></i>溯源能力受限
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </section>

        <!-- 资产态势分析 - 适合使用饼图和对比柱状图 -->
        <section class="mb-16">
            <h2 class="text-2xl font-bold text-dark mb-6 flex items-center">
                <i class="fa fa-server text-primary mr-3"></i>资产态势分析
            </h2>
            <div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
                <!-- 操作系统风险分布 -->
                <div class="section-card">
                    <div class="flex justify-between items-center mb-6">
                        <h3 class="text-xl font-semibold">操作系统风险集中度</h3>
                        <div class="text-sm text-gray-500">
                            <span class="inline-block h-3 w-3 rounded-full bg-danger mr-1"></span> 高风险
                            <span class="inline-block h-3 w-3 rounded-full bg-warning ml-3 mr-1"></span> 中风险
                        </div>
                    </div>
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                        <div class="h-64">
                            <canvas id="osRiskChart"></canvas>
                        </div>
                        <div class="overflow-x-auto">
                            <table class="min-w-full divide-y divide-gray-200">
                                <thead>
                                    <tr>
                                        <th
                                            class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                            操作系统</th>
                                        <th
                                            class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                            攻击命中次数</th>
                                        <th
                                            class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                            占比</th>
                                        <th
                                            class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                            风险值</th>
                                    </tr>
                                </thead>
                                <tbody class="bg-white divide-y divide-gray-200">
                                    <tr class="table-hover-row">
                                        <td class="px-4 py-4 whitespace-nowrap">CentOS Linux 8.2.2004</td>
                                        <td class="px-4 py-4 whitespace-nowrap">1677</td>
                                        <td class="px-4 py-4 whitespace-nowrap">
                                            <div class="w-full bg-gray-200 rounded-full h-2">
                                                <div class="bg-danger h-2 rounded-full" style="width: 73.8%"></div>
                                            </div>
                                            <span class="text-xs text-gray-500 mt-1 inline-block">73.8%</span>
                                        </td>
                                        <td class="px-4 py-4 whitespace-nowrap font-medium">5031</td>
                                    </tr>
                                    <tr class="table-hover-row">
                                        <td class="px-4 py-4 whitespace-nowrap">Windows 8系统(合计)</td>
                                        <td class="px-4 py-4 whitespace-nowrap">429</td>
                                        <td class="px-4 py-4 whitespace-nowrap">
                                            <div class="w-full bg-gray-200 rounded-full h-2">
                                                <div class="bg-warning h-2 rounded-full" style="width: 18.9%"></div>
                                            </div>
                                            <span class="text-xs text-gray-500 mt-1 inline-block">18.9%</span>
                                        </td>
                                        <td class="px-4 py-4 whitespace-nowrap font-medium">429</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>

                <!-- 资产信息缺失情况 -->
                <div class="section-card">
                    <h3 class="text-xl font-semibold mb-6">资产信息缺失影响</h3>
                    <div class="bg-gray-50 p-6 rounded-lg mb-6">
                        <div class="flex items-start mb-4">
                            <div class="bg-danger/10 p-3 rounded-full mr-4">
                                <i class="fa fa-exclamation-circle text-danger text-xl"></i>
                            </div>
                            <div>
                                <p class="font-medium text-lg">5个受影响资产中仅1个(k8s-master1)提供IP地址</p>
                                <p class="text-gray-600 mt-2">缺乏IP地址导致无法有效溯源攻击路径，增加安全事件响应难度</p>
                            </div>
                        </div>
                        <div class="flex items-start">
                            <div class="bg-warning/10 p-3 rounded-full mr-4">
                                <i class="fa fa-server text-warning text-xl"></i>
                            </div>
                            <div>
                                <p class="font-medium text-lg">3个Windows 8实例均未提供网络标识信息</p>
                                <p class="text-gray-600 mt-2">未记录网络标识信息导致资产识别困难，无法准确评估安全风险</p>
                            </div>
                        </div>
                    </div>
                    <div class="h-64">
                        <canvas id="assetMissingChart"></canvas>
                    </div>
                </div>
            </div>
        </section>

        <!-- 告警态势分析 - 适合使用堆叠柱状图和折线图 -->
        <section class="mb-16">
            <h2 class="text-2xl font-bold text-dark mb-6 flex items-center">
                <i class="fa fa-bell text-warning mr-3"></i>告警态势分析
            </h2>
            <div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
                <!-- 攻击类型分布 -->
                <div class="section-card">
                    <h3 class="text-xl font-semibold mb-6">攻击类型分布</h3>
                    <div class="overflow-x-auto">
                        <table class="min-w-full divide-y divide-gray-200">
                            <thead>
                                <tr>
                                    <th
                                        class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        攻击类型</th>
                                    <th
                                        class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        命中次数</th>
                                    <th
                                        class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        占比</th>
                                    <th
                                        class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        威胁等级</th>
                                </tr>
                            </thead>
                            <tbody class="bg-white divide-y divide-gray-200">
                                <tr class="table-hover-row">
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <div class="h-2.5 w-2.5 rounded-full bg-danger mr-2"></div>
                                            <span>T1548(权限提升)</span>
                                        </div>
                                    </td>
                                    <td class="px-4 py-4 whitespace-nowrap">1582</td>
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <div class="w-full bg-gray-200 rounded-full h-2">
                                            <div class="bg-danger h-2 rounded-full" style="width: 70.3%"></div>
                                        </div>
                                        <span class="text-xs text-gray-500 mt-1 inline-block">70.3%</span>
                                    </td>
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <span class="risk-badge bg-danger/10 text-danger">高危</span>
                                    </td>
                                </tr>
                                <tr class="table-hover-row">
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <div class="h-2.5 w-2.5 rounded-full bg-warning mr-2"></div>
                                            <span>T1548.002(权限提升-子技术)</span>
                                        </div>
                                    </td>
                                    <td class="px-4 py-4 whitespace-nowrap">129</td>
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <div class="w-full bg-gray-200 rounded-full h-2">
                                            <div class="bg-warning h-2 rounded-full" style="width: 5.8%"></div>
                                        </div>
                                        <span class="text-xs text-gray-500 mt-1 inline-block">5.8%</span>
                                    </td>
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <span class="risk-badge bg-warning/10 text-warning">中危</span>
                                    </td>
                                </tr>
                                <tr class="table-hover-row">
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <div class="h-2.5 w-2.5 rounded-full bg-info mr-2"></div>
                                            <span>T1053(Linux At命令)</span>
                                        </div>
                                    </td>
                                    <td class="px-4 py-4 whitespace-nowrap">256</td>
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <div class="w-full bg-gray-200 rounded-full h-2">
                                            <div class="bg-info h-2 rounded-full" style="width: 11.4%"></div>
                                        </div>
                                        <span class="text-xs text-gray-500 mt-1 inline-block">11.4%</span>
                                    </td>
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <span class="risk-badge bg-info/10 text-info">低危</span>
                                    </td>
                                </tr>
                                <tr class="table-hover-row">
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <div class="flex items-center">
                                            <div class="h-2.5 w-2.5 rounded-full bg-success mr-2"></div>
                                            <span>T1218(可疑脚本执行)</span>
                                        </div>
                                    </td>
                                    <td class="px-4 py-4 whitespace-nowrap">164</td>
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <div class="w-full bg-gray-200 rounded-full h-2">
                                            <div class="bg-success h-2 rounded-full" style="width: 7.3%"></div>
                                        </div>
                                        <span class="text-xs text-gray-500 mt-1 inline-block">7.3%</span>
                                    </td>
                                    <td class="px-4 py-4 whitespace-nowrap">
                                        <span class="risk-badge bg-success/10 text-success">低危</span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>

                <!-- 时间趋势 -->
                <div class="section-card">
                    <h3 class="text-xl font-semibold mb-6">攻击量时间趋势</h3>
                    <div class="h-80">
                        <canvas id="attackTrendChart"></canvas>
                    </div>
                    <div class="mt-6 overflow-x-auto">
                        <table class="min-w-full divide-y divide-gray-200">
                            <thead>
                                <tr>
                                    <th
                                        class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        日期</th>
                                    <th
                                        class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        攻击量</th>
                                    <th
                                        class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                        环比增长</th>
                                </tr>
                            </thead>
                            <tbody class="bg-white divide-y divide-gray-200">
                                <tr class="table-hover-row">
                                    <td class="px-4 py-4 whitespace-nowrap">5月10日</td>
                                    <td class="px-4 py-4 whitespace-nowrap">44</td>
                                    <td class="px-4 py-4 whitespace-nowrap">-</td>
                                </tr>
                                <tr class="table-hover-row">
                                    <td class="px-4 py-4 whitespace-nowrap">5月11日</td>
                                    <td class="px-4 py-4 whitespace-nowrap">64</td>
                                    <td class="px-4 py-4 whitespace-nowrap trend-up">
                                        <i class="fa fa-arrow-up mr-1"></i>+45.5%
                                    </td>
                                </tr>
                                <tr class="table-hover-row">
                                    <td class="px-4 py-4 whitespace-nowrap">5月12日</td>
                                    <td class="px-4 py-4 whitespace-nowrap">70</td>
                                    <td class="px-4 py-4 whitespace-nowrap trend-down">
                                        <i class="fa fa-arrow-down mr-1"></i>-53.1%
                                    </td>
                                </tr>
                                <tr class="table-hover-row">
                                    <td class="px-4 py-4 whitespace-nowrap">5月13日</td>
                                    <td class="px-4 py-4 whitespace-nowrap font-medium">605</td>
                                    <td class="px-4 py-4 whitespace-nowrap trend-up">
                                        <i class="fa fa-arrow-up mr-1"></i>+823%
                                    </td>
                                </tr>
                                <tr class="table-hover-row">
                                    <td class="px-4 py-4 whitespace-nowrap">5月14日</td>
                                    <td class="px-4 py-4 whitespace-nowrap font-medium">1086</td>
                                    <td class="px-4 py-4 whitespace-nowrap trend-up">
                                        <i class="fa fa-arrow-up mr-1"></i>+80%
                                    </td>
                                </tr>
                                <tr class="table-hover-row bg-gray-50">
                                    <td class="px-4 py-4 whitespace-nowrap font-medium">5月15日(预测)</td>
                                    <td class="px-4 py-4 whitespace-nowrap font-medium">1738</td>
                                    <td class="px-4 py-4 whitespace-nowrap trend-up">
                                        <i class="fa fa-arrow-up mr-1"></i>+60%
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </section>

        <!-- 防护建议 - 适合使用有序列表和分类卡片 -->
        <section class="mb-16">
            <h2 class="text-2xl font-bold text-dark mb-6 flex items-center">
                <i class="fa fa-shield-alt text-success mr-3"></i>防护建议
            </h2>
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                <div class="section-card border-t-4 border-primary">
                    <div class="flex items-center mb-4">
                        <div class="bg-primary/10 p-3 rounded-full mr-3">
                            <i class="fa fa-list-ol text-primary text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold">资产信息完善与溯源能力提升</h3>
                    </div>
                    <ul class="space-y-4">
                        <li class="flex items-start">
                            <div class="bg-primary/10 p-2 rounded-full mr-3 mt-1">
                                <i class="fa fa-check text-primary"></i>
                            </div>
                            <div>
                                <p class="font-medium">补充所有Windows 8实例的IP地址</p>
                                <p class="text-sm text-gray-600 mt-1">确保所有资产有完整的网络标识信息，便于快速定位和响应安全事件</p>
                            </div>
                        </li>
                        <li class="flex items-start">
                            <div class="bg-primary/10 p-2 rounded-full mr-3 mt-1">
                                <i class="fa fa-check text-primary"></i>
                            </div>
                            <div>
                                <p class="font-medium">完善资产数据库字段</p>
                                <p class="text-sm text-gray-600 mt-1">补充IP地址、地理位置、业务角色等信息，构建完整的资产画像</p>
                            </div>
                        </li>
                    </ul>
                    <div class="mt-6 pt-4 border-t border-gray-100">
                        <p class="text-sm text-gray-500">预计实施周期: 2-3周</p>
                        <div class="mt-2">
                            <div class="w-full bg-gray-200 rounded-full h-2">
                                <div class="bg-primary h-2 rounded-full" style="width: 70%"></div>
                            </div>
                            <p class="text-xs text-gray-500 mt-1">实施难度: 中等</p>
                        </div>
                    </div>
                </div>

                <div class="section-card border-t-4 border-warning">
                    <div class="flex items-center mb-4">
                        <div class="bg-warning/10 p-3 rounded-full mr-3">
                            <i class="fa fa-lock text-warning text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold">权限提升攻击防御强化</h3>
                    </div>
                    <ul class="space-y-4">
                        <li class="flex items-start">
                            <div class="bg-warning/10 p-2 rounded-full mr-3 mt-1">
                                <i class="fa fa-check text-warning"></i>
                            </div>
                            <div>
                                <p class="font-medium">定期扫描CentOS系统的SUID/SGID权限程序</p>
                                <p class="text-sm text-gray-600 mt-1">识别并移除不必要的特殊权限程序，降低权限提升风险</p>
                            </div>
                        </li>
                        <li class="flex items-start">
                            <div class="bg-warning/10 p-2 rounded-full mr-3 mt-1">
                                <i class="fa fa-check text-warning"></i>
                            </div>
                            <div>
                                <p class="font-medium">部署基于文件哈希的完整性校验机制</p>
                                <p class="text-sm text-gray-600 mt-1">监控关键系统文件变化，及时发现并阻止可疑权限提升尝试</p>
                            </div>
                        </li>
                    </ul>
                    <div class="mt-6 pt-4 border-t border-gray-100">
                        <p class="text-sm text-gray-500">预计实施周期: 3-4周</p>
                        <div class="mt-2">
                            <div class="w-full bg-gray-200 rounded-full h-2">
                                <div class="bg-warning h-2 rounded-full" style="width: 80%"></div>
                            </div>
                            <p class="text-xs text-gray-500 mt-1">实施难度: 较高</p>
                        </div>
                    </div>
                </div>

                <div class="section-card border-t-4 border-danger">
                    <div class="flex items-center mb-4">
                        <div class="bg-danger/10 p-3 rounded-full mr-3">
                            <i class="fa fa-windows text-danger text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold">Windows 8系统风险缓解</h3>
                    </div>
                    <ul class="space-y-4">
                        <li class="flex items-start">
                            <div class="bg-danger/10 p-2 rounded-full mr-3 mt-1">
                                <i class="fa fa-check text-danger"></i>
                            </div>
                            <div>
                                <p class="font-medium">禁用非必要的wscript/cscript执行权限</p>
                                <p class="text-sm text-gray-600 mt-1">减少通过脚本执行进行攻击的风险，特别是针对T1218类攻击</p>
                            </div>
                        </li>
                        <li class="flex items-start">
                            <div class="bg-danger/10 p-2 rounded-full mr-3 mt-1">
                                <i class="fa fa-check text-danger"></i>
                            </div>
                            <div>
                                <p class="font-medium">限制At命令(T1053)的使用范围</p>
                                <p class="text-sm text-gray-600 mt-1">仅授权必要人员使用At命令，降低利用该命令进行持久化攻击的风险</p>
                            </div>
                        </li>
                    </ul>
                    <div class="mt-6 pt-4 border-t border-gray-100">
                        <p class="text-sm text-gray-500">预计实施周期: 1-2周</p>
                        <div class="mt-2">
                            <div class="w-full bg-gray-200 rounded-full h-2">
                                <div class="bg-danger h-2 rounded-full" style="width: 60%"></div>
                            </div>
                            <p class="text-xs text-gray-500 mt-1">实施难度: 中等</p>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- 附录 - 适合使用表格展示计算逻辑 -->
        <section>
            <h2 class="text-2xl font-bold text-dark mb-6 flex items-center">
                <i class="fa fa-book text-info mr-3"></i>附录：关键数据计算说明
            </h2>
            <div class="section-card">
                <h3 class="text-xl font-semibold mb-6">风险值计算逻辑</h3>
                <div class="bg-gray-50 p-6 rounded-lg mb-6">
                    <p class="text-lg font-medium mb-4">公式：风险值 = 命中次数 × 威胁等级系数</p>
                    <p class="text-gray-600">威胁等级系数根据攻击的严重程度和潜在影响确定，用于量化不同类型攻击的风险程度。</p>
                </div>
                <div class="overflow-x-auto">
                    <table class="min-w-full divide-y divide-gray-200">
                        <thead>
                            <tr>
                                <th
                                    class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                    威胁等级</th>
                                <th
                                    class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                    系数</th>
                                <th
                                    class="px-4 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
                                    说明</th>
                            </tr>
                        </thead>
                        <tbody class="bg-white divide-y divide-gray-200">
                            <tr class="table-hover-row">
                                <td class="px-4 py-4 whitespace-nowrap">
                                    <span class="risk-badge bg-danger/10 text-danger">高危</span>
                                </td>
                                <td class="px-4 py-4 whitespace-nowrap font-medium">3</td>
                                <td class="px-4 py-4">可能导致系统瘫痪、数据泄露或重大业务中断的攻击</td>
                            </tr>
                            <tr class="table-hover-row">
                                <td class="px-4 py-4 whitespace-nowrap">
                                    <span class="risk-badge bg-warning/10 text-warning">中危</span>
                                </td>
                                <td class="px-4 py-4 whitespace-nowrap font-medium">2</td>
                                <td class="px-4 py-4">可能导致部分功能受损或敏感信息泄露的攻击</td>
                            </tr>
                            <tr class="table-hover-row">
                                <td class="px-4 py-4 whitespace-nowrap">
                                    <span class="risk-badge bg-info/10 text-info">低危</span>
                                </td>
                                <td class="px-4 py-4 whitespace-nowrap font-medium">1</td>
                                <td class="px-4 py-4">一般不会造成严重影响，但可能被利用进行进一步攻击的行为</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="mt-8 bg-gray-50 p-6 rounded-lg">
                    <h4 class="font-medium mb-4">示例计算：</h4>
                    <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                        <div class="bg-white p-4 rounded-lg border border-gray-200">
                            <p class="text-sm text-gray-500 mb-1">攻击类型</p>
                            <p class="font-medium">T1548(权限提升)</p>
                            <div class="mt-3">
                                <p class="text-sm text-gray-500 mb-1">命中次数</p>
                                <p class="text-lg font-semibold">1582</p>
                            </div>
                            <div class="mt-3">
                                <p class="text-sm text-gray-500 mb-1">威胁等级</p>
                                <p class="risk-badge bg-danger/10 text-danger">高危 (系数3)</p>
                            </div>
                            <div class="mt-4 pt-4 border-t border-gray-100">
                                <p class="text-sm text-gray-500 mb-1">风险值</p>
                                <p class="text-xl font-bold text-danger">1582 × 3 = 4746</p>
                            </div>
                        </div>
                        <div class="bg-white p-4 rounded-lg border border-gray-200">
                            <p class="text-sm text-gray-500 mb-1">攻击类型</p>
                            <p class="font-medium">T1548.002(权限提升-子技术)</p>
                            <div class="mt-3">
                                <p class="text-sm text-gray-500 mb-1">命中次数</p>
                                <p class="text-lg font-semibold">129</p>
                            </div>
                            <div class="mt-3">
                                <p class="text-sm text-gray-500 mb-1">威胁等级</p>
                                <p class="risk-badge bg-warning/10 text-warning">中危 (系数2)</p>
                            </div>
                            <div class="mt-4 pt-4 border-t border-gray-100">
                                <p class="text-sm text-gray-500 mb-1">风险值</p>
                                <p class="text-xl font-bold text-warning">129 × 2 = 258</p>
                            </div>
                        </div>
                        <div class="bg-white p-4 rounded-lg border border-gray-200">
                            <p class="text-sm text-gray-500 mb-1">攻击类型</p>
                            <p class="font-medium">T1053(Linux At命令)</p>
                            <div class="mt-3">
                                <p class="text-sm text-gray-500 mb-1">命中次数</p>
                                <p class="text-lg font-semibold">256</p>
                            </div>
                            <div class="mt-3">
                                <p class="text-sm text-gray-500 mb-1">威胁等级</p>
                                <p class="risk-badge bg-info/10 text-info">低危 (系数1)</p>
                            </div>
                            <div class="mt-4 pt-4 border-t border-gray-100">
                                <p class="text-sm text-gray-500 mb-1">风险值</p>
                                <p class="text-xl font-bold text-info">256 × 1 = 256</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>

    <footer class="bg-dark text-white py-12 mt-16">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <div>
                    <h3 class="text-xl font-semibold mb-4">网络安全态势综合分析报告</h3>
                    <p class="text-gray-400">本报告由安全分析团队基于2025年5月10日至2025年5月15日的安全监控数据生成</p>
                </div>
                <div>
                    <h4 class="text-lg font-medium mb-4">联系方式</h4>
                    <ul class="space-y-2">
                        <li class="flex items-center">
                            <i class="fa fa-envelope mr-2 text-gray-400"></i>
                            <span>security@example.com</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fa fa-phone mr-2 text-gray-400"></i>
                            <span>+86 123 4567 8910</span>
                        </li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-lg font-medium mb-4">报告版本</h4>
                    <p class="text-gray-400">版本号: V1.0</p>
                    <p class="text-gray-400">发布日期: 2025年5月15日</p>
                </div>
            </div>
            <div class="mt-8 pt-8 border-t border-gray-800 text-center text-gray-500">
                <p>© 2025 安全分析团队. 保留所有权利.</p>
            </div>
        </div>
    </footer>

    <script>
        // 页面加载完成后执行
        document.addEventListener('DOMContentLoaded', function () {
            // 核心风险图表
            const riskTypeCtx = document.getElementById('riskTypeChart').getContext('2d');
            new Chart(riskTypeCtx, {
                type: 'bar',
                data: {
                    labels: ['权限提升类攻击', 'CentOS风险值', 'IP地址缺失资产'],
                    datasets: [{
                        label: '风险占比',
                        data: [75.1, 50.3, 80],
                        backgroundColor: [
                            'rgba(239, 68, 68, 0.7)',
                            'rgba(245, 158, 11, 0.7)',
                            'rgba(99, 102, 241, 0.7)'
                        ],
                        borderColor: [
                            'rgb(239, 68, 68)',
                            'rgb(245, 158, 11)',
                            'rgb(99, 102, 241)'
                        ],
                        borderWidth: 1
                    }]
                },
                options: {
                    responsive: true,
                    maintainAspectRatio: false,
                    scales: {
                        y: {
                            beginAtZero: true,
                            max: 100,
                            ticks: {
                                callback: function (value) {
                                    return value + '%';
                                }
                            }
                        }
                    },
                    plugins: {
                        tooltip: {
                            callbacks: {
                                label: function (context) {
                                    return `风险占比: ${context.raw}%`;
                                }
                            }
                        }
                    }
                }
            });

            // 操作系统风险分布图表
            const osRiskCtx = document.getElementById('osRiskChart').getContext('2d');
            new Chart(osRiskCtx, {
                type: 'doughnut',
                data: {
                    labels: ['CentOS Linux 8.2.2004', 'Windows 8系统', '其他系统'],
                    datasets: [{
                        data: [73.8, 18.9, 7.3],
                        backgroundColor: [
                            'rgba(239, 68, 68, 0.7)',
                            'rgba(245, 158, 11, 0.7)',
                            'rgba(99, 102, 241, 0.7)'
                        ],
                        borderColor: [
                            'rgb(239, 68, 68)',
                            'rgb(245, 158, 11)',
                            'rgb(99, 102, 241)'
                        ],
                        borderWidth: 1
                    }]
                },
                options: {
                    responsive: true,
                    maintainAspectRatio: false,
                    plugins: {
                        legend: {
                            position: 'bottom'
                        }
                    }
                }
            });

            // 资产信息缺失图表
            const assetMissingCtx = document.getElementById('assetMissingChart').getContext('2d');
            new Chart(assetMissingCtx, {
                type: 'bar',
                data: {
                    labels: ['提供IP地址', '未提供IP地址'],
                    datasets: [{
                        label: '资产数量',
                        data: [1, 4],
                        backgroundColor: [
                            'rgba(16, 185, 129, 0.7)',
                            'rgba(239, 68, 68, 0.7)'
                        ],
                        borderColor: [
                            'rgb(16, 185, 129)',
                            'rgb(239, 68, 68)'
                        ],
                        borderWidth: 1
                    }]
                },
                options: {
                    responsive: true,
                    maintainAspectRatio: false,
                    scales: {
                        y: {
                            beginAtZero: true,
                            ticks: {
                                stepSize: 1
                            }
                        }
                    }
                }
            });

            // 攻击量时间趋势图表
            const attackTrendCtx = document.getElementById('attackTrendChart').getContext('2d');
            new Chart(attackTrendCtx, {
                type: 'line',
                data: {
                    labels: ['5月10日', '5月11日', '5月12日', '5月13日', '5月14日', '5月15日(预测)'],
                    datasets: [{
                        label: '攻击量',
                        data: [44, 64, 70, 605, 1086, 1738],
                        borderColor: 'rgb(30, 64, 175)',
                        backgroundColor: 'rgba(30, 64, 175, 0.1)',
                        fill: true,
                        tension: 0.3,
                        pointBackgroundColor: 'rgb(30, 64, 175)',
                        pointBorderColor: '#fff',
                        pointBorderWidth: 2,
                        pointRadius: 4,
                        pointHoverRadius: 6
                    }]
                },
                options: {
                    responsive: true,
                    maintainAspectRatio: false,
                    scales: {
                        y: {
                            beginAtZero: true,
                            title: {
                                display: true,
                                text: '攻击次数'
                            }
                        }
                    },
                    plugins: {
                        tooltip: {
                            mode: 'index',
                            intersect: false,
                            callbacks: {
                                label: function (context) {
                                    return `攻击量: ${context.raw}`;
                                }
                            }
                        }
                    }
                }
            });
        });
    </script>
</body>

</html>